/*
 * Copyright 2009, Team Mondegreen:
 * Brian Hsieh - bh2181@columbia.edu
 * Eugene Yao - eyy2102@columbia.edu
 * Jake Amonette - jaa2149@columbia.edu
 * Tal Giat - tg2235@colubia.edu
 * 
 * This file is part of AMFM (A Minimal Fractal Music Language), a language created for
 * fractal music as part of the Programming Languages and Translator class at Columbia university.
 *
 * For more details go to: http://code.google.com/p/amfm/
 * 
 * AMFM is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * at your option any later version.
 * 
 * AMFM is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with AMFM.  If not, see <http://www.gnu.org/licenses/>. 
 */
package org.mondegreen.amfm.compiler;

/**
 * An enum holding all the possible compilation error codes, these are the error codes that appear in the ErrorMessages properties file,
 * and are used by all compiler components to record their errors.
 * @author talgiat
 * 
 */
public enum AmFmErrorCode {
  ANTLR_ERROR, // all antlr lexing/parsing/tree walking errors - capture as is 
  REFERRING_TO_UNDEFINED_SEED,
  REFERRING_TO_ALL_RESTS_SEED,
  REDIFINED_SEED, 
  TOO_MANY_FUNCTION_CALLS,
  FAILED_OPENING_SOURCE_FILE, 
  FAILED_READING_CODE_TEMPLATES, 
  FAILED_WRITING_JAVA_CLASS;
}